<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>论坛</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<!-- <link type='text/css'   href='__PUBLIC__/css/index.css' /> -->
 <style type="text/css">
    #containt{ height:700px; width:700px; margin:0 auto; border:1px solid #000000;}
	#top{ height:50px; width:780px; margin-top:7px; margin-left:9px;}
	#top_left{ height:50px; width:238px; float:left; border:1px solid #000000; }
	#top_right{ height:50px; width:438px; float:right; margin-left:100px;margin-top:20px; }
	#content{ height:550px; width:680px; margin-top:5px; margin-left:9px; border:1px solid #000000;}
	#bottom{ height:70px; width:700px; margin-top:5px; margin-left:9px;}	 
	#b_r_bottom{ height:70px; width:680px; border:1px solid #000000;}
</style>
	
</head>
<body>
<form  name="index" method="get" >

<div id="containt">
	<div id="top">
	<div id="top_left">欢迎进入本论坛模块 <img src="__PUBLIC__/images/logo.png" width="200px" height="30px"/>   </div>
	<div id="top_right">
		
	 <if condition="session('?username')"><p>欢迎你 <{$Think.session.username}> 
	
	 <tr><td>
	 <a href='__APP__/Center/index'>进入<{$Think.session.username}>的会员中心</a><td></tr>
	 <tr><td> <a href='__APP__/Login/this_exit' target='_top'>退出</a><td></tr>
	
	 </p>
    <else />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='__APP__/Login/login'>登陆</a>&nbsp;<a href='__APP__/Login/register'>注册</a>
    </if> 
	
	  
	</div>	
	</div>
	<div id="content">
	<table>	
	<tr><td >标题</td><td>发贴人</td></tr>	
    	<foreach name='list' item='vo'>
		<tr> 
		  <td>
	 
		  <a href="__URL__/show/id/<{$vo.id}>"> <{$vo.title|substr=0,20}></a>
		  </td>  
		  <td>
		    <{$vo.uname}>
		  </td> 
		</tr>
		</foreach>
   </table>
   	<{$show}>
	</div>	
	<div id="bottom"> 
	<div id="b_r_bottom"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;温馨提示：您可以在论坛中可以进行贴子浏览，点击标题进行查看。</div>
	</div>
	</div>
	 

</form>
</body>
</html>